package cn.chainco.cts.iservice;

import java.sql.SQLException;
import java.util.Date;
import java.util.List;
import java.util.Map;

import org.hibernate.HibernateException;
import org.hibernate.Query;
import org.hibernate.Session;
import org.springframework.orm.hibernate3.HibernateCallback;

import cn.chainco.cts.jdo.Currency;
import cn.chainco.cts.jdo.ExcRate;

public interface IExcRateManager extends CommonManager{

	/**
	 * 得到所有币种对人民币的最新汇率
	 */
	public Map<Currency, Float> getAllCurrencyToRMB();
	
	/**
	 *  获取当天币种对人民币的汇率
	 */
	public ExcRate findByDateAndCurrency(final Date date, final Currency c);
		
}
